package com.tiezhu.springdemo.bean;

public class Pet {
    private int pet_id;
    private String pet_name;
    private String pet_age;
    private String pet_weight;
    private String master_name;
    private String pet_oldname;

    public Pet() {
    }

    public Pet(int pet_id, String pet_name, String pet_age, String pet_weight, String master_name) {
        this.pet_id = pet_id;
        this.pet_name = pet_name;
        this.pet_age = pet_age;
        this.pet_weight = pet_weight;
        this.master_name = master_name;
    }

    public Pet(int pet_id, String pet_name, String pet_age, String pet_weight, String master_name, String pet_oldname) {
        this.pet_id = pet_id;
        this.pet_name = pet_name;
        this.pet_age = pet_age;
        this.pet_weight = pet_weight;
        this.master_name = master_name;
        this.pet_oldname = pet_oldname;
    }

    public int getPet_id() {
        return pet_id;
    }

    public void setPet_id(int pet_id) {
        this.pet_id = pet_id;
    }

    public String getPet_name() {
        return pet_name;
    }

    public void setPet_name(String pet_name) {
        this.pet_name = pet_name;
    }

    public String getPet_age() {
        return pet_age;
    }

    public void setPet_age(String pet_age) {
        this.pet_age = pet_age;
    }

    public String getPet_weight() {
        return pet_weight;
    }

    public void setPet_weight(String pet_weight) {
        this.pet_weight = pet_weight;
    }

    public String getMaster_name() {
        return master_name;
    }

    public void setMaster_name(String master_name) {
        this.master_name = master_name;
    }

    public String getPet_oldname() {
        return pet_oldname;
    }

    public void setPet_oldname(String pet_oldname) {
        this.pet_oldname = pet_oldname;
    }

    @Override
    public String toString() {
        return "Pet{" +
                "pet_id=" + pet_id +
                ", pet_name='" + pet_name + '\'' +
                ", pet_age='" + pet_age + '\'' +
                ", pet_weight='" + pet_weight + '\'' +
                ", master_name='" + master_name + '\'' +
                ", pet_oldname='" + pet_oldname + '\'' +
                '}';
    }
}
